<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>niecshoes</title>
    <script src="/static/js/index.js"></script>
    <link rel="stylesheet" href="/static/css/index.css">

</head>
<body>
<div class="topfa">
    <input type="button" name="back" id="back" value="返回">
    <input type="button" name="register" id="register" value="注册" onclick="register()">
    <input type="button" name="login" id="login" value="登陆" onclick="login()">
    <input type="button" name="logout" id="logout" value="登出">
    <input type="button" name="support" id="support" value="赞助" onclick="support()">
    <input type="button" name="upload" id="upload" value="上传">

    <div id="getmny">
        <!--首款码-->
        <img src="../../static/images/wxget.jpg" alt="点击切换付款方式" id="paypic" onclick="changegetmny()" name="1">
    </div>
    <div class="registerblok" id="registerblok">
        <!--注册div-->
        <form action="#" method="post" id="registform">
            <table>
                <tr>
                    <td>用户名:</td>
                    <td><input type="text" name="uname" onblur="checkname()" required/><span id="keyong">可用</span><span id="bukeyong">不可用</span></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password" id="password" name="password" required/></td>
                </tr>
                <tr>
                    <td>确认密码:</td>
                    <td><input type="password" name="cpasswd" id="cpasswd" onchange="checkpasswd()" required/></td>
                </tr>
                <tr>
                    <td>邮箱:</td>
                    <td><input type="email" name="email" required/></td>
                </tr>
                <tr>
                    <td>验证码:</td>
                    <td><input type="text" name="concode" required/></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="button" value="获取验证码到邮箱"></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" id="submitbtn" value="提交" onclick="doregister()"><input type="reset" value="重置"></td>
                </tr>
            </table>

        </form>
    </div>
    <div class="loginblok" id="loginblok">
        <!--登陆div-->
        <form action="" method="post" id="loginform">
            <table>
                <tr>
                    <td>账号:</td>
                    <td><input type="text" name="uname" placeholder="用户名/邮箱"></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password" name="upass"></td>
                </tr>
                <tr>
                    <td>验证码:</td>
                    <td><input type="text" name="uname"></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="button" onclick="getcode()" value="获取验证码"><input type="submit" value="登陆"><input type="reset" value="重置"></td>
                </tr>
            </table>
        </form>
    </div>
    <div class="upfile" id="upfile">
        <!--上传图片-->
        <form action="#" method="post" enctype="multipart/form-data">
            <input type="file" name="photo" id="uploadphoto" onchange="douploadphoto()">
            <input type="submit" value="提交" id="sm">
        </form>
    </div>


</div>


</body>
</html>